package org.example.springmvc_demo7.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.springmvc_demo7.model.UserInfo;

@Mapper
public interface UserInfoMapper {
    @Select("select * from user_info where user_name = #{username} and delete_flag = 0")
    UserInfo getUserInfoByName(String username);
}
